package cn.csc.module.member.controller.app.user.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.util.Date;

@Schema(description = "用户 App - 会员用户更新 Request VO")
@Data
public class AppMemberUserUpdateReqVO {

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    private String nickname;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn/x.png")
    @URL(message = "头像必须是 URL 格式")
    private String avatar;

    /**
     * 用户类型(0普通，5采购商 10供应商)
     */
    @ApiModelProperty(value = "用户类型(0普通，5采购商 10供应商)")
    private Integer type;

    /**
     * 出生日期
     */
    private Date birthday;


}
